<template>
  <div id="app">
    <keep-alive>
      <router-view ></router-view>
    </keep-alive>
    
  </div>
</template>

<script>
import TopBar from './components/TopBar';
import HomePage from './views/homePage/homePage.vue';

export default {
  name: 'App',
  components: {
    TopBar,
    HomePage
  },
}
</script>

<style lang="less">
*{
  margin: 0;
  padding: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* text-align: center; */
  color: #2c3e50;
  /* margin-top: 60px; */
}
.el-header, .el-footer {
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  /* line-height: 60px; */
  padding: 0px !important;
  width: 100%;
  margin: 0 auto;
}
/deep/.el-main {
  background-color: #E9EEF3;
  color: #333;
  height: 100% !important;
  /* text-align: center; */
  /* line-height: 160px; */
}
</style>
